<?php
/* -------------------------------------------------------------------------------------
* 	ID:						$Id: wishlist.php 502 2014-01-31 15:50:06Z phone.mueller@googlemail.com $
* 	Letzter Stand:			$Revision: 502 $
* 	zuletzt geaendert von:	$Author:$
* 	Datum:					$Date: 2014-01-31 15:50:06 +0000 (Fri, 31 Jan 2014) $
*
* 	SEO:mercari by Siekiera Media
* 	http://www.seo-mercari.de
*
* 	Copyright (c) since 2011 SEO:mercari
* --------------------------------------------------------------------------------------
* 	based on:
* 	(c) 2000-2001 The Exchange Project  (earlier name of osCommerce)
* 	(c) 2002-2003 osCommerce - www.oscommerce.com
* 	(c) 2003     nextcommerce - www.nextcommerce.org
* 	(c) 2005     xt:Commerce - www.xt-commerce.com
*
* 	Released under the GNU General Public License
* ----------------------------------------------------------------------------------- */

	$box_smarty = new Smarty();
	$box_smarty->assign('tpl_path', 'templates/'.CURRENT_TEMPLATE.'/');
	$box_smarty->assign('html_tpl_path', CURRENT_TEMPLATE.'/html');
	$box_smarty->assign('ajax', (isset($ajax_status) ? $ajax_status : false));

//echo_e($_SESSION, 'E');	
	if($_SESSION['wish_list']->count_contents() > 0)
		$box_smarty->assign('COUNT', $_SESSION['wish_list']->count_contents());
	else
		$box_smarty->assign('COUNT', 0);

	$box_smarty->assign('ARTICLE', ARTICLE);
	$box_smarty->assign('LINK_WISHLIST', href_link(FILENAME_WISH_LIST, '', 'SSL'));
//echo_e($box_smarty->getTemplateVars(), 'E');

	$box_smarty->caching = false;
	$box_smarty->assign('language', $_SESSION['language']);
	$box_content = $box_smarty->fetch(CURRENT_TEMPLATE.'/boxes/box_wishlist.html');
